<?=$headerHtml?>
        <form method="post" action="index.php" target="_self">
        <input type="hidden" value="<?=$ctlName?>" name="c" id="c"/>
        <input type="hidden" value="<?=$actName?>" name="a" id="a"/>
        <input type="hidden" value="<?=$appId?>" name="appId" id="appId"/>
        <div class="container">
                <h2 class="admintitle">频道管理<div class="admintitle_r"><a href="?c=<?=$ctlName?>&a=addShow">添加</a> | <a href="?c=Cache&a=Refresh&moduleName=Cms_Class">刷新缓存</a></div></h2>           
                <? if($list){?>
                <div id="srchuserdiv" class="tabcontentcur" style="width:99%;">
                    <table  class="datalist fixwidth">
						<tbody><tr>
							<th nowrap="nowrap">   </th>
							<th nowrap="nowrap">id</th>
							<th nowrap="nowrap">频道名</th>
							<th nowrap="nowrap">所属APP</th>
							<th nowrap="nowrap">路径</th>
							<th nowrap="nowrap">域名</th>
							<th nowrap="nowrap">操作</th>
						</tr>
                            <?foreach($list as $row){?>
							<tr>
								<td width="20"><input type="checkbox" name="classIds[]" value="<?=$row['id']?>" class="selIdCkbox"></td>
								<td width="50"><?=$row['id']?></td>
								<td ><?=$row['name']?></td>
								<td><?=$appCache[$row['appId']]['cnName']?></td>
								<td ><?=$row['path']?></td>
								<td ><?=$row['domain']?></td>
								<td width="120">
                                    <a href="index.php?c=<?=$ctlName?>&a=AddShow&id=<?=$row['id']?>">详情</a> | 
                                    <a href="index.php?c=Cms_Create&a=List&appId=<?=$appId?>&classId=<?=$row['id']?>" target="_blank">发布列表</a>

                                </td>
							</tr>
							<?}?>
                            <tr><td colspan="8"><input type="checkbox"  onclick="reverseSel()">反选 <input type="button" value="发布选中" onclick="doSubmit(this.form,<?=$appId?>,'<?=$ctlName?>','multPublish','')"></td></tr>
					</tbody></table>
                    <div class="pageBar"><?=$pageBar?></div>



            </div>
            <?}else{?>
            <div class="mainbox">
                <div class="note">
                    <p class="i">目前没有相关数据!</p>
                </div>
            </div>
            <?php
                }
            ?>
               
        </div>
        </form>

    </body>
</html>
